package o2o.dao.PO.divide;

// 订单分成信息

public class DividingInfo {

    private Long id;
    private String sysAppKey;
    private int type = 1; // 1:标识城市 2：商圈
    private String city;
    private Long agentId;
    private Long shopId;    // 店铺id
    private Double shopPacketRate; // 店铺分打包费比例0-100
    private Double shopGoodsRate; // 店铺商品分的比例0-100
    private int code = 1;         // 1 打包费等分成金额  11 固定抽佣
    private Double moneyRang;       // 满足金额  包含 例如满足 5员抽成4元
    private Double plateChouYong;   // 平台抽佣金额 例如 满10元 抽3元
    private String note;
    private String descs;
    private int delFlag = 0;
    private String createUser;
    private Long createTime;
    private String updateUser;


    public Long getShopId() {
        return shopId;
    }

    public DividingInfo setShopId(Long shopId) {
        this.shopId = shopId;
        return this;
    }

    public int getCode() {
        return code;
    }

    public DividingInfo setCode(int code) {
        this.code = code;
        return this;
    }

    public Double getMoneyRang() {
        return moneyRang;
    }

    public DividingInfo setMoneyRang(Double moneyRang) {
        this.moneyRang = moneyRang;
        return this;
    }

    public Double getPlateChouYong() {
        return plateChouYong;
    }

    public DividingInfo setPlateChouYong(Double plateChouYong) {
        this.plateChouYong = plateChouYong;
        return this;
    }

    public Long getId() {
        return id;
    }

    public DividingInfo setId(Long id) {
        this.id = id;
        return this;
    }

    public String getSysAppKey() {
        return sysAppKey;
    }

    public DividingInfo setSysAppKey(String sysAppKey) {
        this.sysAppKey = sysAppKey;
        return this;
    }

    public int getType() {
        return type;
    }

    public DividingInfo setType(int type) {
        this.type = type;
        return this;
    }

    public String getCity() {
        return city;
    }

    public DividingInfo setCity(String city) {
        this.city = city;
        return this;
    }

    public Long getAgentId() {
        return agentId;
    }

    public DividingInfo setAgentId(Long agentId) {
        this.agentId = agentId;
        return this;
    }

    public Double getShopPacketRate() {
        return shopPacketRate;
    }

    public DividingInfo setShopPacketRate(Double shopPacketRate) {
        this.shopPacketRate = shopPacketRate;
        return this;
    }

    public Double getShopGoodsRate() {
        return shopGoodsRate;
    }

    public DividingInfo setShopGoodsRate(Double shopGoodsRate) {
        this.shopGoodsRate = shopGoodsRate;
        return this;
    }

    public String getNote() {
        return note;
    }

    public DividingInfo setNote(String note) {
        this.note = note;
        return this;
    }

    public String getDescs() {
        return descs;
    }

    public DividingInfo setDescs(String descs) {
        this.descs = descs;
        return this;
    }

    public int getDelFlag() {
        return delFlag;
    }

    public DividingInfo setDelFlag(int delFlag) {
        this.delFlag = delFlag;
        return this;
    }

    public String getCreateUser() {
        return createUser;
    }

    public DividingInfo setCreateUser(String createUser) {
        this.createUser = createUser;
        return this;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public DividingInfo setCreateTime(Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public DividingInfo setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
        return this;
    }
}